package com.aorise.service.bayonet;

import com.aorise.model.bayonet.BayonetCameraModel;
import com.aorise.model.bayonet.BayonetCameraPageVO;
import com.aorise.model.bayonet.BayonetCameraVo;
import com.aorise.service.system.BaseService;
import com.aorise.utils.Page;
import com.aorise.utils.json.InnerResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * @Auther: zhouhao
 * @Date: 2019/6/26
 * @Description:
 */
public interface BayonetCameraService extends BaseService {

    /**
     * 卡口设备分页列表
     * @param bayonetCameraPageVO 条件
     * @return
     */
    Page getBayonetCameraByPage(BayonetCameraPageVO bayonetCameraPageVO);

    /**
     * 添加卡口设备
     * @param bayonetCamera  添加信息
     * @return
     */
    boolean addBayonetCamera(BayonetCameraModel bayonetCamera);

    /**
     * 卡口设备详情
     * @param bayonetCameraID
     * @return
     */
    BayonetCameraVo getBayonetCameraInfo(Integer bayonetCameraID);

    /**
     * 修改卡口设备信息
     * @param bayonetCamera
     * @return
     */
    boolean upBayonetCamera(BayonetCameraModel bayonetCamera);

    /**
     * 导出卡口设备信息
     * @param bayonetCameraPageVO   条件
     * @param response
     */
    void exportBayonetCamera(BayonetCameraPageVO bayonetCameraPageVO, HttpServletResponse response);

    /**
     * 导入卡口设备信息
     * @param excelFile
     */
    InnerResult<String> importBayonetCamera(MultipartFile excelFile);
}
